package com.yu.DAO;

import com.yu.POJO.CC;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: LittleFisher
 * @Date: 2021/06/26/22:45
 * @Description:
 */
public interface CCDao {
    public int addCC(CC cc);
    public CC findCCByID(int id);
    public List<CC> findCCByTea_id(int tea_id);

    public CC findByPOJO(@Param("clazz_id")int clazz_id,@Param("course_id")int course_id);
    public int upCount(@Param("now_count")int now_count,@Param("real_count")int real_count);
    public List<CC> getAllCC();

}
